/**
 * 搜索接口
 */

import request from '@/utils/request'



/**
 * 联想搜索对话框
 */
export const getSearchSuggestions = q=>{
    return request({
        method:'GET',
        url:"/app/v1_0/suggestion",
        params:{
            q
        }
    })
}

/**
 * 搜索结果
 */
export const getSearchResult =params=>{
    request({
        method:'GET',
        url:'/app/v1_0/search',
        params
    })
}